home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-01-05 | 991 b | 28 lines | [TEXT/GEOL] |
- Item 2588677 3-Jan-90 19:22
-
- From: AUST0134 Jam Software Sydney
-
- To: MADA2 MacApp Dev Assoc, Curtis Faith
- MACAPP.TECH$ MacApp Technical
-
- Sub: FreeIfObject caveats
-
- Dear MacAppers,
-
- I have been rereading the excellent discussions that were had here in November
- regarding failure handling. Thanx to all the folks who contributed and
- clarified what was quite a confusing subject.
-
- There is one point of concern, however. In a few of the links there is mention
- of testing for freed objects with FreeIfObject. Looking at the source, it
- seems that FreeIfObject will test for freed objects in Debug mode, but in
- nonDebug it only tests for a nil object, and thus will fail miserably for freed
- objects. In any case, it would be poor practice to free objects haphazardly
- hoping FreeIfObject handles any multiple freeings.
-
- Tseung Cheung
- JAM Software Pty Ltd
- AUST0134
-
-
-